package com.rongmei.jdsync.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 京东商品分类基础DTO
 * 包含所有分类DTO的共同字段
 *
 * @author dongjun
 */
@Data
@Schema(description = "京东商品分类基础信息")
public abstract class BaseJdCategoryDto {
    @Schema(description = "分类ID")
    private long category_id;

    @Schema(description = "一级分类ID")
    private long category_id_1;

    @Schema(description = "二级分类ID")
    private long category_id_2;

    @Schema(description = "三级分类ID")
    private long category_id_3;

    @Schema(description = "分类名称")
    private String category_name;

    @Schema(description = "分类图标URL")
    private String image;

    @Schema(description = "分类广告图URL")
    private String image_adv;

    @Schema(description = "分类层级，表示当前分类在整个分类体系中的层级深度")
    private long level;

    @Schema(description = "父分类ID")
    private long pid;

    @Schema(description = "分类简称")
    private String short_name;
}
